package com.mall.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.utils.PageUtils;
import com.mall.mallproduct.entity.AttrGroupEntity;
import com.mall.mallproduct.vo.AttrGroupRelationVO;
import com.mall.mallproduct.vo.AttrGroupWithAttrsVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zxc
 * @email zxc@gmail.com
 * @date 2020-08-13 10:33:58
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    void saveRelation(List<AttrGroupRelationVO> relationVO);

    List<AttrGroupWithAttrsVO> getAttrGroupWithAttrsBycatelogId(Long catelogId);
}

